import {
    request
} from "./index";

// 浏览历史模块
const apiModule = 'goodsBrowseApp/';

// 删除
export const deleteGoodsBrowse = (data) => {
    data = Object.assign({}, data, data);
    return request(apiModule + 'delete', data);
}

// 查看详情
export const queryGoodsBrowseDetail = (data) => {
    return request(apiModule + 'queryDetails', data);
}

// 列表查询
export const queryGoodsBrowseList = (data) => {
    return request(apiModule + 'queryList', data);
}

// 新增/取消
export const updateGoodsBrowse = (data) => {
    return request(apiModule + 'save', data);
}